/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package CoalitionCirclePackage;

import java.util.HashMap;

/**
 *
 * @author Heather
 */
public class wrapperTest {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
      int[] a = {1, 2, 3};
      int[] b = {1, 2, 3};
      IntArrayWrapper aW = new IntArrayWrapper(a);
      IntArrayWrapper bW = new IntArrayWrapper(b);

      if (aW.equals(bW))
        System.out.println("hell ya");

      HashMap<IntArrayWrapper, Integer> hm = new HashMap<IntArrayWrapper, Integer>();
      hm.put(aW, 10);

      int x = hm.get(bW);

      System.out.println(x);
    }

}
